Skip to main content

cellDoubleClick

Type

message

Summary

sent when the mouse button is released at the end of a double-click on the same cell.

Syntax

cellDoubleClick <pColumnNumber>,<pRowNumber>,<pCellRect>

Description

The cellDoubleClick message is sent to the widget when the mouse button is released at the end of a double-click on the same cell.

Parameters

NameTypeDescription

pColumnNumber

The number of the column to which the cell that was double clicked belongs.

pRowNumber

The number of the row to which the cell on which the double click belongs.

pCellRect

The rectangle of the cell that was double clicked on.

Examples

on cellDoubleClick pColumnNumber, pRowNumber, pCellRect
local tHilitedText

if pColumnNumber is 1 then
set the item del to tab
set the rect of button "Option Menu" to pCellRect

put the pgHilitedText of me into tHilitedText
set the label of button "Option Menu" to item 1 of tHilitedText
end if
end cellDoubleClick